# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

from odoo import fields, models,api
from odoo.exceptions import ValidationError
import odoo.addons.decimal_precision as dp

class StockMove(models.Model):
    _inherit = 'stock.move'

    picking_track_number = fields.Char(u'内部参考')
    product_available = fields.Float(related='product_id.qty_available', string=u'在手')
    product_incoming = fields.Float(related='product_id.incoming_qty', string=u'在途')
